package com.lyh.crm.settings.service;

import com.lyh.crm.exception.ConfirmPwdException;
import com.lyh.crm.exception.LoginException;
import com.lyh.crm.settings.domain.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    User login(String loginAct, String loginPwd, String ip) throws LoginException;

    List<User> getUserList();

    boolean updatePwd(Map<String, String> map) throws ConfirmPwdException;
}
